package com.example.my_invitation_service;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Date;

@SpringBootApplication
@MapperScan("com.example.my_invitation_service.mappers")//扫描mapper文件夹
public class MyInvitationServiceApplication {

    public static void main(String[] args) {

        System.out.println(new SimpleDateFormat("现在时间： "+"yyyy 年 MM 月 dd 日 E HH 点 mm 分 ss 秒").format(new Date()));
        SpringApplication.run(MyInvitationServiceApplication.class, args);

    }

}
